pivot table distinct count missing